<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<title>文件目录管理</title>
<meta name="description" content="文件目录管理">
<meta name="content-type" content="text/html; charset=UTF-8">
<script src="/HTOA/js/miniui/scripts/boot.js" type="text/javascript"></script>
<style type="text/css">
body {
	margin: 0;
	padding: 0;
	border: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.header {
	background: url(/HTOA/js/miniui/demo/header.gif) repeat-x 0 -1px;
}
</style>
<script type="text/javascript">
</script>
</head>
<body>
	<div class="mini-splitter" style="width:100%;height:100%;border:0"
		vertical="true" allowResize="false">
		<div size="60" showCollapseButton="true" class="header">
			<h1 style="margin:0;padding:15px;font-family:微软雅黑,黑体,宋体;">文件目录管理</h1>
			<div style="position:absolute;top:10px;right:20px;">
				<a class="mini-button mini-button-iconTop" iconCls="icon-user"
					onclick="goShowRole" plain="true" visible="false">角色管理</a>
			</div>
			<div style="position:absolute;top:35px;left:180px;font-size:12px">版本:V1.0</div>
		</div>
		<div showCollapseButton="false" style="border:0">
			<div class="mini-layout" style="width:100%;height:100%;" id="layout">
				<div region="center"
					style="overflow:hidden;border-bottom:0;border-right:1">
					<div class="mini-toolbar"
						style="padding:2px;border-top:0;border-left:0;border-right:0;">
						<table style='width:100%;'>
							<tr>
								<td style='width:100%;white-space:nowrap;'>
									<a class="mini-button" iconCls="icon-add" plain="true" onclick="goPerson('New')" visible="true">新增文件</a>
									<a class="mini-button" iconCls="icon-remove" plain="true" onclick="goRemovePerson" visible="true">删除文件</a>
								</td>
								<td style='white-space:nowrap;' id='rightGridToolBar'>
									<a class="mini-button" iconCls="icon-download" plain="true" onclick="goExportAllUser" visible="true">保存</a>
									<a class='mini-button' id="btnRefresh" iconCls='icon-reload' plain='true' onclick='LoadUserInfo()'>刷新</a>
								</td>
							</tr>
						</table>
					</div>
					<div class="mini-fit">
						<div id="miniDataGrid" class="mini-datagrid" style="width:100%;height:100%;" borderStyle="border:0;" sizeList='[10,20,30,50,100]' pageSize='20' multiSelect='true',
							showReloadButton='false'>
							<div property="columns">
								<div type='checkcolumn' width="15px"></div>
								<div field="directoryCode" width="90" headerAlign="center" allowSort="true">目录编号</div>
								<div field="directoryName" width="90" headerAlign="center" allowSort="true">目录名称</div>
								<div field="" width="90" headerAlign="center" allowSort="true">文档要求</div>
								<div field="" width="90" headerAlign="center" allowSort="true">关联菜单</div>
								<div field="" width="90" headerAlign="center" allowSort="true">关联图菜单</div>
								<div field="" width="90" headerAlign="center" allowSort="true">可查看部门</div>
								<div field="" width="90" headerAlign="center" allowSort="true">可查看人员</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	mini.parse();
	var grid = mini.get('miniDataGrid');
	grid.setUrl('<%=path%>/file/fileDirectoryList.action');
	grid.load();
</script>
</html>
